package org.clockworkmages.games.anno1186.model.effect;

import javax.xml.bind.annotation.XmlAttribute;

import org.clockworkmages.games.anno1186.model.GameObject;

public class Effect
		extends GameObject {

	private String effect;

	private String condition;

	public Effect() {

	}

	public Effect(String effect) {
		this.effect = effect;
	}

	public Effect(String effect, String condition) {
		this.effect = effect;
		this.condition = condition;
	}

	@XmlAttribute(name = "effect")
	public String getEffect() {
		return effect;
	}

	public void setEffect(String effect) {
		this.effect = effect;
	}

	public String getCondition() {
		return condition;
	}

	@XmlAttribute(name = "if")
	public void setCondition(String condition) {
		this.condition = condition;
	}

}
